package com.huixuebao.settle.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huixuebao.settle.entity.CategoryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CategoryMapper extends BaseMapper<CategoryEntity> {
    /**
     * 根据父Id查询子集列表
     * @param pid
     * @return
     */
    List<CategoryEntity> queryDivisionByPid(String pid);

    List<CategoryEntity>  regionList();
}
